package com.flower.subject.application.convert;

import com.flower.subject.application.dto.SubjectLabelDTO;
import com.flower.subject.domain.entity.SubjectCategoryBO;
import com.flower.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANT = Mappers.getMapper(SubjectLabelDTOConverter.class);

    SubjectLabelBO convertBoTOLabel(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> covertLabelBOToDTOList(List<SubjectLabelBO> subjectLabelBOList);
}
